package com.sq108.template;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan({"com.sq108.template", "tc.app"})
@MapperScan("com.sq108.template.dao.mapper")
@ServletComponentScan
@EnableFeignClients
public class TemplateApplication {

    public static void main(String[] args) {

        SpringApplication.run(TemplateApplication.class, args);

    }
}
